﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using STF.OrangeDog.Dtos;

namespace STF.OrangeDog.IService
{
    public interface IUsersBll
    {
        Task<int> AddUsersAsync(int Email, string Pwd, string NickName, int StateCode);
        Task<int> EditUsersAsync(int Id, int Email, string Pwd, string NickName, int StateCode);
        Task<int> DeleteUsersAsync(int Id);
        Task<IEnumerable<UsersDtos>> GetAll(int DeleteId = 1);
        Task<UsersDtos> GetDataById(int Id);
    }
}
